package ${package};

import little.ant.platform.annotation.Table;
import little.ant.platform.common.DictKeys;
import little.ant.platform.model.BaseModel;

import org.apache.log4j.Logger;

/**
 * ${colunmList[0].table_desc} model
 * @author 董华健
 */
@SuppressWarnings("unused")
@Table(dataSourceName = ${dataSource}, tableName = "${tableName}")
public class ${className} extends BaseModel<${className}> {

	private static final long serialVersionUID = 6761767368352810428L;

	private static Logger log = Logger.getLogger(${className}.class);
	
	public static final ${className} dao = new ${className}();
	
	<% for(colunm in colunmList){ %>
	/**
	 * 字段描述：${colunm.column_desc} 
	 * 字段类型：${colunm.column_type}  ${isEmpty(colunm.column_length) ? "" : "长度：" + colunm.column_length}
	 */
	public static final String column_${colunm.column_name} = "${colunm.column_name}";
	
	<% } %>
	
	/**
	 * sqlId : ${namespace}.splitPageFrom
	 * 描述：分页from
	 */
	public static final String sqlId_splitPage_from = "${namespace}.splitPageFrom";
	
}
